FIND_PACKAGE(VTK)
APPLY_VTK_FLAGS()

INCLUDE_DIRECTORIES(.. ../ipPic ${VTK_INCLUDE_DIRS})
LINK_DIRECTORIES(${VTK_LIBRARY_DIRS})
ADD_LIBRARY(pic2vtk ${MITK_WIN32_FORCE_STATIC} pic2vtk.cpp)
TARGET_LINK_LIBRARIES(pic2vtk mitkIpPic vtkIO)

MITK_CREATE_MODULE_CONF(pic2vtk
  DEPENDS mitkIpPic
)

